package com.bj58.mis.apm.server.statistics.dto.chart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 图表值对象
 */
@ApiModel(description = "图表值对象")
public class ValueBean {
    @ApiModelProperty(value = "图例名称")
    private String name;
    @ApiModelProperty(value = "图例子名称")
    private String subName;
    @ApiModelProperty(value = "总数")
    private Integer count;
    @ApiModelProperty(value = "和值")
    private Double sum;
    @ApiModelProperty(value = "平均值")
    private Double avg;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "值列表")
    private List<Double> data;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }

    public List<Double> getData() {
        return data;
    }

    public void setData(List<Double> data) {
        this.data = data;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getAvg() {
        return avg;
    }

    public void setAvg(Double avg) {
        this.avg = avg;
    }
}
